/*
Copyright [2020] [https://www.xiaonuo.vip]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Snowy采用APACHE LICENSE 2.0开源协议，您在使用过程中，需要注意以下几点：

1.请不要删除和修改根目录下的LICENSE文件。
2.请不要删除和修改Snowy源码头部的版权声明。
3.请保留源码和相关描述文件的项目出处，作者声明等。
4.分发源码时候，请注明软件出处 https://gitee.com/xiaonuobase/snowy
5.在修改包名，模块名称，项目代码等时，请注明软件出处 https://gitee.com/xiaonuobase/snowy
6.若您的项目无法满足以上几点，可申请商业授权，获取Snowy商业授权许可，请在官网购买授权，地址为 https://www.xiaonuo.vip
 */
package vip.xiaonuo.facedoor.modular.deviceset.param;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.experimental.Accessors;
import vip.xiaonuo.core.pojo.base.param.BaseParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 网点设置表参数类
 *
 * @author 胡鹏达
 * @date 2022-07-09 09:48:37
 */
@Accessors(chain = true)
@Data
public class DwDeviceSetParam extends BaseParam {

    /**
     * 外键
     */
    @NotBlank(message = "外键不能为空，请检查deviceBaseId参数", groups = {add.class, edit.class})
    private Long deviceBaseId;


    /**
     * 机柜端口
     */
    @NotBlank(message = "机柜端口不能为空，请检查cabinetPort参数", groups = {add.class, edit.class})
    private String cabinetPort;




    /**
     * ip地址
     */
    @NotBlank(message = "ip地址不能为空，请检查ip参数", groups = {add.class, edit.class})
    private String ip;


    /**
     * 服务器ip
     */
    @NotBlank(message = "服务器ip不能为空，请检查severIp参数", groups = {add.class, edit.class})
    private String severIp;

    /**
     * 服务器端口
     */
    @NotBlank(message = "服务器端口不能为空，请检查severPort参数", groups = {add.class, edit.class})
    private String severPort;
    /**
     * 海清设备id
     */
    private Integer deviceId;
    /**
     * faceThreshold
     */
    @JSONField(name = "FaceThreshold")
    private Integer faceThreshold;
    /**
     * iDCardThreshold
     */
    @JSONField(name = "IDCardThreshold")
    private Integer idCardThreshold;
    /**
     * controlType
     */
    @JSONField(name = "ControlType")
    private Integer controlType;
    /**
     * autoRebootDay
     */
    @JSONField(name = "AutoRebootDay")
    private Integer autoRebootDay;
    /**
     * autoRebootHour
     */
    @JSONField(name = "AutoRebootHour")
    private Integer autoRebootHour;
    /**
     * direction
     */
    @JSONField(name = "Direction")
    private Integer direction;
    /**
     * submask
     */
    @JSONField(name = "Submask")
    private String submask;
    /**
     * gateway
     */
    @JSONField(name = "Gateway")
    private String gateway;
    /**
     * dns
     */
    @JSONField(name = "DNS")
    private Integer dns;

    @JSONField(name = "DHCP")
    private Integer dhcp;

    @JSONField(name = "VerifyResetTime")
    private Integer verifyResetTime;

    @JSONField(name = "OpendoorWay")
    private Integer opendoorWay;

    @JSONField(name = "VerifyMode")
    private Integer verifyMode;

    @JSONField(name = "Wiegand")
    private Integer wiegand;

    @JSONField(name = "ControlType")
    private Integer openDoorControlType;

    @JSONField(name = "PublicMjCardNo")
    private Integer publicMjCardNo;

    @JSONField(name = "AutoMjCardBgnNo")
    private Integer autoMjCardBgnNo;

    @JSONField(name = "AutoMjCardEndNo")
    private Integer autoMjCardEndNo;

    @JSONField(name = "IOType")
    private Integer ioType;

    @JSONField(name = "IOStayTime")
    private Integer ioStayTime;

    @JSONField(name = "Endian")
    private Integer endian;

    @JSONField(name = "CardMode")
    private Integer cardMode;

    @JSONField(name = "IsOutFF")
    private Integer isOutFF;

    @JSONField(name = "SnapResetTime")
    private Integer snapResetTime;

    @JSONField(name = "IsMaskOK")
    private Integer isMaskOk;

    /**
     * 0、IP 1 基础参数 2、开门参数
     */
    private Integer updateType;

    @JSONField(name = "VerifySuccAudio")
    private Integer verifySuccAudio;
    @JSONField(name = "VerifyFailAudio")
    private Integer verifyFailAudio;
    @JSONField(name = "RemoteCtrlAudio")
    private Integer remoteCtrlAudio;
    @JSONField(name = "Volume")
    private Integer volume;
    @JSONField(name = "VerifySuccGuiTip")
    private Integer verifySuccGuiTip;
    @JSONField(name = "VerifyFailGuiTip")
    private Integer verifyFailGuiTip;
    @JSONField(name = "UnregisteredGuiTip")
    private Integer unregisteredGuiTip;
    @JSONField(name = "IPHide")
    private Integer ipHide;
    @JSONField(name = "IsShowName")
    private Integer isShowName;
    @JSONField(name = "DisplayPicture")
    private Integer displayPicture;
    @JSONField(name = "IDCardNumHide")
    private Integer idCardNumHide;
//	@JSONField(name = "IsShowTitle")
//	private Integer isShowTitle;
//	@JSONField(name = "IsShowVersion")
//	private Integer isShowVersion;
//	@JSONField(name = "IsShowDate")
//	private Integer isShowDate;
//	@JSONField(name = "IsShowTime")
//	private Integer isShowTime;

    @JSONField(name = "ICCardNumHide")
    private Integer icCardNumHide;

    @JSONField(name = "VerifyTipContent")
    private String verifyTipContent;

    @JSONField(name = "UnregisterTipContent")
    private String unregisterTipContent;

    @JSONField(name = "BlacklistTipContent")
    private String blacklistTipContent;

    @JSONField(name = "IsShowDeviceID")
    private Integer isShowDeviceId;

    @JSONField(name = "IsShowPersonNum")
    private Integer isShowPersonNum;

    /** 存储柜专有属性 START  **/
    @JSONField(name = "MaxUseNum")
    private Integer maxUseNum;

    @JSONField(name = "AdminPwd")
    private String adminPwd;
    /** 存储柜专有属性 END **/
}
